package com.lion.seaman.worker.flows.logic;


import com.lion.seaman.worker.flows.JobFlow;

import java.util.Map;

public interface IScriptLogic {
    void init(Map<String, Object> flowData);

    void execute(JobFlow flow);

    void success(JobFlow flow);

    void error(JobFlow flow);

}
